/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.infor.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.infor.entity.Location;
import com.jeeplus.modules.infor.mapper.LocationMapper;

/**
 * 货位Service
 * @author sld
 * @version 2017-11-23
 */
@Service
@Transactional(readOnly = true)
public class LocationService extends CrudService<LocationMapper, Location> {

	public Location get(String id) {
		return super.get(id);
	}
	
	public List<Location> findList(Location location) {
		return super.findList(location);
	}
	
	public Page<Location> findPage(Page<Location> page, Location location) {
		return super.findPage(page, location);
	}
	
	@Transactional(readOnly = false)
	public void save(Location location) {
		super.save(location);
	}
	
	@Transactional(readOnly = false)
	public void delete(Location location) {
		super.delete(location);
	}
	
}